#include<bits/stdc++.h>
using namespace std;
int r[100005],num,ans;
int main()
{
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    int n;
    cin>>n;
    for(int i=1;i<=n;i++)
    {
        cin>>num;
        r[num]++;
    }
    ans=r[1];
    for(int i=1;i<=n;i++)
    {
        ans=max(ans,r[i]);
    }
    cout<<ans;
    return 0;
}
